package cc.mrbird.febs.system.service;

import cc.mrbird.febs.common.domain.QueryRequest;
import cc.mrbird.febs.system.domain.Area;
import cc.mrbird.febs.system.domain.TAreaManager;
import cc.mrbird.febs.system.domain.TResident;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * @author dtwei
 */
public interface ITAreaManagerService extends IService<TAreaManager> {

    void createAreaManager(TAreaManager tAM);

    void deleteByAreaId(List<String> ids);

    void updateAreaManager(TAreaManager tAM) throws Exception;

    List<TAreaManager> findAreaManagerList(TAreaManager tAM);

    void updateAfterDelAreaManager(Long areaId, List<TResident> residents);
}
